﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace VisualSearch.Core
{
    [XmlRoot(Namespace = "http://schemas.microsoft.com/Search/2008/suggestions")]
    public class SearchSuggestion
    {
        public SearchSuggestion()
        {
            this.Section = new List<Item>();
        }

        [XmlElement]
        public string Query { get; set; }
        [XmlArray]
        public List<Item> Section { get; set; }
    }
}